<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8" />
    <meta name="renderer" content="webkit" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
    <meta name="format-detection" content="telephone=no" />
    <title>新闻详情</title>
    <meta name="description" content="" />
    <meta name="keywords" content="" />
    <link rel="shortcut icon" href="/static/favicon.ico">
    <link rel="stylesheet" href="/front/css/style.css" />
    <link rel="stylesheet" href="/front/css/slick.css">
</head>

<body>
    <!-- 头部 -->
    <div class="header">
        <div class="wp">
            <div class="logo">
                <a href=""><img src="/front/images/logo.png" alt=""></a>
            </div>
            <div>
                <div class="col-r">
                    <ul class="nav" th:include="front/header::header">

                    </ul>
                    <div class="hd-tel"><a onclick="showPhone();"></a></div>
                    <div class="soBox">
                        <span class="btn-so"></span>
                        <div class="con">
                            <form action="">
                                <input type="text" class="inp" name="articleTitle" id="articleTitle">
                                <input type="hidden" id="telephone">
                                <input onclick="search();"  type="button" value="" class="sub">
                            </form>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
    <!-- 头部 -->
    <div class="ban">
        <div class="slider">
            <div class="item" th:each="image,imageStat: ${advImageList}" th:style="'background-image:url('+${image.fileUrl}+')'">
                <div class="wp" th:if="${lbwsm.articleTitle} != null">
                    <div class="txt">
                        <h3 class="tit">[[${lbwsm.articleTitle}]]</h3>
                        <p th:utext="${lbwsm.articleContent}"></p>
                        <a th:href="@{'http://'+${lbwsm.articleIntroduction}}" target="_blank" class="more">了解详情</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- 内容 -->
    <div class="main">
        <div class="snav">
            <div class="wp">
                <ul>
                    <li class="on"><a href="">企业新闻</a></li>
                    <li><a href="">行业动态</a></li>
                </ul>
            </div>
        </div>
        <div class="box1">
            <div class="wp">
                <div class="m-txt4">
                    <h1> [[${sceneryArticleDO.articleTitle}]]</h1>
                    <div class="info">
                        <span>发布日期：[[${#dates.format(sceneryArticleDO.createTime, 'yyyy-MM-dd HH:mm:ss')}]]</span>
                        <!--<span>浏览次数：19</span>-->
                    </div>
                    <p th:utext="${sceneryArticleDO.articleContent}">标题</p>
                </div>
            </div>
            <!--<div class="m-flip">
                <div class="wp">
                    <div class="txt"><strong>下一篇：</strong><a href="">新闻标题新闻标题新闻标题新闻标题</a></div>
                </div>
            </div>-->
        </div>
    </div>
    <!-- 内容 -->
    <!-- 底部 -->
    <div class="footer">
        <div class="con-top">
            <div class="wp">
                <div class="col-l">
                    <div class="f-logo">
                        <a href=""><img src="images/img1.png" alt=""></a>
                    </div>
                    <div class="f-contact">
                       <!-- <p>咨询电话</p>
                        <div class="tel"><span id="span1">400-000-0000</span></div>-->
                        <p><img src="images/img4.png" alt=""><span id="span2">安徽省合肥市蜀山区XXXXXXXXX</span></p>
                        <p><img src="images/img5.png" alt="">反馈邮箱：<span id="span3">123456789@qq.com</span></p>
                    </div>
                    <div style="margin-top: 20px;">
                        <img src="images/qrcode.png" style="width: 100px;">
                        <img src="images/qrcode1.png" style="width: 100px;margin-left: 25px;">
                    </div>
                </div>
                <div th:include="front/header::footer"></div>
            </div>
        </div>
        <div class="con-bot">
            <div class="wp">
                <div class="f-copy">北京明睿长城科技有限公司 版权所有 京ICP备2021017392号-1</div>
            </div>
        </div>
    </div>
    <!-- 底部 -->
    <script src="/front/js/jquery.js"></script>
    <script src="/front/js/lib.js"></script>
    <script src="/front/js/slick.min.js"></script>
    <script src="/js/plugins/layer/layer.js"></script>
    <script>
        $(document).ready(function() {
            $('.ban .slider').slick({
                dots: true,
                arrows: false,
                autoplay: true,
                slidesToShow: 1,
                fade: true,
                autoplaySpeed: 5000,
                pauseOnHover: false,
                lazyLoad: 'ondemand'
            });
        });

        function showPhone() {
            var telephone = $("#telephone").val();
            layer.msg(telephone)
        }

        function search() {
            var articleTitle = $("#articleTitle").val();
            if(articleTitle == null || articleTitle == '') {
                layer.msg("请输入查询关键字");
                return false;
            }
            window.location.href = "/front/news?articleTitle="+articleTitle;
        }
    </script>
</body>

</html>